/******************************************************************************
 * @File name   :      IDealerInfoSyncDao.java
 *
 * @Author      :      GUDONG
 *
 * @Date        :      2015年10月14日
 *
 * @Copyright Notice: 
 * Copyright (c) 2014 Capgemini, Inc. All  Rights Reserved.
 * This software is published under the terms of the Capgemini Software
 * License version 1.0, a copy of which has been included with this
 * distribution in the LICENSE.txt file.
 * 
 * 
 * ----------------------------------------------------------------------------
 * Date                   Who         Version        Comments
 * 2015年10月14日 下午5:32:22        GUDONG     1.0            Initial Version
 *****************************************************************************/
package com.cap.bts.crmdp.dealer.dealerinfosync.dao;

import java.util.List;

import com.cap.bts.crmdp.dealer.dealerinfosync.domain.DealerInfoRelMars;
import com.cap.bts.framework.common.dao.IBaseDao;
import com.cap.bts.framework.common.exception.AppException;

/**
 *
 */
public interface IDealerInfoSyncDao extends IBaseDao<DealerInfoRelMars, Long> {
    public void deleteDealerInfoSync() throws AppException;
    
    /**
     * 根据dealerId获取MarsTenantId
     * @Date        :      2015年11月18日
     * @param dealerId
     * @return
     * @throws AppException
     */
    List<DealerInfoRelMars> getMarsTenantIdByDealerId(Long dealerId) throws AppException;
    
    List<Integer> getDealerIdByMarsTenantId(String marsTenantId) throws AppException;
}
